package com.yuji.aacar.net.entity;



import rx.Subscriber;
import rx.functions.Func1;

/**
 * <li>Date: 2017/2/15 </li>
 * <li>Description: 请求数据统一封装类 </li>
 */

public  abstract  class BaseEntity<T>  {
    protected Subscriber mSubscriber; //订阅者
    protected Func1 func1;//转换方法


    /**
     * 设置参数
     *
     * @param
     * @return
     */


    /**
     * 设置回调sub
     *
     * @return
     */


    public   Subscriber getSubscirber(){
        return mSubscriber;
    }

    public void setmSubscriber(Subscriber mSubscriber) {
        this.mSubscriber = mSubscriber;
    }

    public Subscriber getmSubscriber() {
        return mSubscriber;
    }

    public Func1 getFunc1() {
        return func1;
    }

    public void setFunc1(Func1 func1) {
        this.func1 = func1;
    }
}
